This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Aug 28, 2012, 10:59 AM
4 Posts

Using tabs on formTable

  • Category: Extension Library
  • Platform: Windows
  • Release: 8.5.2
  • Role: Developer
  • Tags:
  • Replies: 2
Hi,
 
Does anyone use tabbed panels in a form and what is the best practice? 
 
I tried to add a tabbedPanel to a formTable, when I add fields to the first tab I can't see the label, just wondering is there a better way to do this?
 
Thanks 
Aug 29, 2012, 7:50 AM
18 Posts
Re: Using tabs on formTable
 Hi Mark,
 
I tried using tabbed panel for a test  form,but din faced the issue as you mentioned. The code is as follows
 
<?xml version="1.0" encoding="UTF-8"?>
<xp:view xmlns:xp="http://www.ibm.com/xsp/core">

<xp:tabbedPanel id="tabbedPanel1">
<xp:tabPanel label="Personal Data" id="tabPanel1">
<xp:table>
<xp:tr>
<xp:td>
<xp:label value="First Name" id="label1"></xp:label>
</xp:td>
<xp:td>
<xp:inputText id="inputText1"></xp:inputText>
</xp:td>

</xp:tr>
<xp:tr>
<xp:td>
<xp:label value="Last Name" id="label2"></xp:label>
</xp:td>
<xp:td>
<xp:inputText id="inputText2"></xp:inputText>
</xp:td>

</xp:tr>
<xp:tr>
<xp:td>
<xp:label value="Email" id="label3"></xp:label>
</xp:td>
<xp:td>
<xp:inputText id="inputText3"></xp:inputText>
</xp:td>

</xp:tr>
</xp:table>
</xp:tabPanel>
<xp:tabPanel label="Other Data" id="tabPanel2">
<xp:fileUpload id="fileUpload1"></xp:fileUpload></xp:tabPanel>
</xp:tabbedPanel></xp:view>
 
Hope this helps.
  
Aug 29, 2012, 9:39 AM
4 Posts
Re: Using tabs on formTable
Thanks Deepa,
 
I was trying to add a tabbedPanel inside a formTable control from the extension library but it may be easier to use your approach.
 
Mark   

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal